package com.smtlive.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.smtlive.domain.Role;
import com.smtlive.repository.RoleRepository;
import com.smtlive.service.RoleService;

@Service
public class RoleServiceImpl implements RoleService{

	@Autowired
	RoleRepository roleRepository;
	
	@Override
	public Iterable<Role> findAllRole() {
		return roleRepository.findAll();
	}
	
}
